module UsersHelper
  def avatar_for(user, size: '100x100')
    avatar_id = Digest::MD5::hexdigest(user.email.downcase)
    avatar_url = 'blog.jpg'
    image_tag(avatar_url, alt: user.name, class: "avatar", size: size)
  end
end